class Human(object):
    def __init__(self, input_gender):
        self.gender = input_gender
        self.name = ''
    def printGender(self, name):
        self.name = name

li_lei = Human('male') # 这里，'male'作为参数传递给__init__()方法的input_gender变量。
print(li_lei.gender)
li_lei.printGender("aaaaa")
print(li_lei.name)